This document describes the replication files associated with the paper:
Ikuma Ogura, Hirofumi Miwa, and Takeshi Iida. “What Do You Mean by ‘Democrat’ and ‘Republican’? Evidence from a Conjoint Experiment.” International Journal of Public Opinion Research.

The following files are contained herein:
0_data_preparation.R (R code to preprocess the original survey data)
1_main_analyses.R (R code to replicate analyses reported in the main text)
2_marginal_means.R (R code to replicate analyses reported in Online Appendix D)
3_additional_analyses.R (R code to replicate analyses reported in Online Appendix E)
4_mixture_modeling.R (R code to replicate analyses reported in Online Appendix F)
mixture_reg_with_MNL.cpp (C++ code implementing a Gibbs sampler for the finite mixture linear regression model with the multinomial logit classification)
mixture_reg_wo_MNL.cpp (C++ code implementing a Gibbs sampler for the finite mixture linear regression model without the multinomial logit classification)
raw_data.csv (original survey data excluding individual identifying information)
ACS.csv (American Community Survey data)
CPS.csv (Current Population Survey data)
attentive_data.Rdata (preprocessed individual-level data excluding satisficers; an output of 0_data_preparation.R)
entire_data.Rdata (preprocessed conjoint profile-level data including satisficing responses; an output of 0_data_preparation.R)
clean_data.Rdata (preprocessed conjoint profile-level data excluding satisficing responses; an output of 0_data_preparation.R)
codebook.pdf (codebook for raw_data.csv)

Each replication codes work independently from other replication codes. If you want to skip the estimation process via MCMC in 4_mixture_modeling.R to save time, please contact Hirofumi Miwa. He will share Rdata files containing the MCMC results with you in some way.

All data analyses using these replication files were carried out using R version 4.1.0 as well as the following R packages:  aod version 1.3.1, coda version 0.19–4, cregg version 0.4.0, lfe version 2.8–6, lmtest version 0.9–38, ltm version 1.1–1, RColorBrewer version 1.1–2, Rcpp version 1.0.7, RcppArmadillo version 0.10.5.0.0, readr version 2.0.1, sandwich version 3.0–1, and survey version 4.0.

If you have any questions or concerns with the files, please feel free to contact Hirofumi Miwa.